package com.ruibang.glass.equipment.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import com.ruibang.glass.equipment.domain.req.IubricationManagementReq;
import com.ruibang.glass.equipment.domain.req.device.DeviceAllPageReq;
import com.ruibang.glass.equipment.entity.device.lubricationManagement;
import com.teaming.cloud.framework2.common.model.ResultBody;

/**
 * <p>
 * 周期给油脂管理服务类
 * </p>
 *
 * @author mameng
 * @since 2024-03-20
 */
public interface IubricationManagementService extends IService<lubricationManagement> {

    /**
     * 周期给油脂管理
     * @param managementReq
     * @return
     */
    IPage<lubricationManagement> queryPage(IubricationManagementReq managementReq);
    /**
     * 新增跟新
     * @param accidentRegister
     * @return
     */
    ResultBody updateOrAddById(lubricationManagement accidentRegister);
    /**
     * 周期统计
     * @param accidentRegister
     * @return
     */
    ResultBody getStatistics(lubricationManagement accidentRegister);


}
